using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ENTITIES;
using BUS;
using Utility;

public partial class admin_ChiTietHTTT : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            LoadData();

        }

    }
    private void LoadData()
    {
        try
        {
            int id = int.Parse(Request.QueryString["ID"]);
            TBHinhThucThanhToan httt = HinhThucThanhToanBUS.GetByID(id);
            lit_MaThanhToan.Text = httt.mathanhtoan.ToString();
            lit_TenThanhToan.Text = httt.tenthanhtoan;




        }
        catch
        {
            Response.Redirect("~/admin/DoanhSachHTTT.aspx");
        }

    }
}